Opacity vs TMS2: Expectations and Reality
نویسندگان
چکیده
Most of the popular Transactional Memory (TM) algorithms are known to be safe because they satisfy opacity, the well-known correctness criterion for TM algorithms. Recently, it has been shown that they are even more conservative, and that they satisfy TMS2, a strictly stronger property than opacity. This paper investigates the theoretical and practical implications of relaxing those algorithms in order to allow histories that are not TMS2. In particular, we present four impossibility results on TM implementations that are not TMS2 and are either opaque or strictly serializable, and one practical TM implementation that extends TL2, a high-performance state-of-the-art TM algorithm, to allow non-TMS2 histories. By matching our theoretical findings with the results of our performance evaluation, we conclude that designing and implementing TM algorithms that are not TMS2, but safe, has inherent costs that limit any possible performance gain.
منابع مشابه
Putting Opacity in its Place
We clarify the relationships between Guerraoui and Kapalka’s opacity correctness condition for Transactional Memory (TM) algorithms and the TMS1 and TMS2 conditions we have previously proposed. Using formal, machine checked simulation proofs constructed using the PVS theorem proving system, we have shown that all algorithms that satisfy opacity also satisfy TMS1, and that all algorithms that sa...
متن کاملLast-use Opacity: A Strong Safety Property for Transactional Memory with Early Release Support
Transaction Memory (TM) is a concurrency control abstraction that allows the pro-grammer to specify blocks of code to be executed atomically as transactions. However,since transactional code can contain just about any operation attention must be paidto the state of shared variables at any given time. E.g., contrary to a database trans-action, if a TM transaction reads a stal...
متن کاملPhytochrome control of the tms2 gene in transgenic Arabidopsis: a strategy for selecting mutants in the signal transduction pathway.
Introduction of the tms2 gene from Agrobacterium tumefaciens into Arabidopsis thaliana yields transgenic seedlings with a new selectable phenotype: the seedlings are strongly growth inhibited on micromolar concentrations of auxin amide substrates that do not significantly affect wild-type seedlings. The tms2 gene encodes an amidohydrolase that catalyzes the conversion of biologically inactive a...
متن کاملProving Opacity of a Pessimistic STM
Transactional Memory (TM) is a high-level programming abstraction for concurrency control that provides programmers with the illusion of atomically executing blocks of code, called transactions. TMs come in two categories, optimistic and pessimistic, where in the latter transactions never abort. While this simplifies the programming model, high-performing pessimistic TMs can be complex. In this...
متن کاملExtreme Makeover: Home Edition, Setting the American Dream’s Homeownerships Standard of Living and its Costs
This article discusses how the Extreme Makeover: HomeEditionUStelevision reality program, which focuses on rebuilding houses for those in need,sets unrealistic boundaries for the American Dream’s standard of living oflow-income homeowners in the United States. Passing through economic hardshipin the past several years, it is important to study how this program can meet thereal expectations of t...
متن کامل